{% extends "layout.html" %}

{% block subtitle %}{{_('Users')}}{% endblock %}

{% from "snippet/macro.html" import navigation %}

{% block nav %}
{{ navigation('user') }}
{% endblock %}

{% block content %}
<div class="panel panel-default">
  <div class="panel-heading">
    <h3 class="panel-title">{{_('Active Members')}}</h3>
  </div>
  <div class="panel-body">
    {% for item in paginator.items %}
      <a class="avatar" href="{{ url_for('user.view', username=item.username) }}" title="{{ item }}">
        <img src="{{ item.avatar(36) }}" alt="{{ item }}"/>
      </a>
    {% endfor %}
  </div>
  <div class="panel-footer">
    {{ paginator.total }} {{ _('members joined') }} {{ config.SITE_TITLE }}
  </div>
</div>
{% endblock %}
